📚 node [[python loops while loops|while loops]]
Welcome! Nobody has contributed anything to 'python loops while loops|while loops' yet. You can:
-
Write something in the document below!
- There is at least one public document in every node in the Agora. Whatever you write in it will be integrated and made available for the next visitor to read and edit.
- Write to the Agora from social media.
-
Sign up as a full Agora user.
- As a full user you will be able to contribute your personal notes and resources directly to this knowledge commons. Some setup required :)
⥅ related node [[python loops while loops]]
⥅ related node [[week3 python for and while loops lab]]
⥅ node [[python-loops-while-loops]] pulled by Agora
Python Loops - While Loops
Go to the [[Python Week 3 Main Page]] or the [[Python - Main Page]] Also see the [[Programming Main Page]] or the [[Main AI Page]]
Also see [[Python Loops - For Loops]]
For code examples see the [[Week3 Python For and While Loops Lab]]
While Loops
A loop that executes so long as a condition is met.
Syntax
while medici_family == True:
sc_recruit(medici)
Or, if you want a counter.
medici_family = [ ... ]
sc_recruit = []
i = 0
while medici_family[i]:
sc_recruit.append(medici)
i += 1
📖 stoas
- public document at doc.anagora.org/python-loops-while-loops|while-loops
- video call at meet.jit.si/python-loops-while-loops|while-loops
⥱ context
↑ pushing here
(none)
(none)
↓ pulling this
(none)
(none)
→ forward
(none)
(none)
🔎 full text search for 'python loops while loops|while loops'